package org.example.demo18_strategy;

public class Client {
    public static void main(String[] args) {
        SaleMan saleMan = new SaleMan(new StrategyA());
        saleMan.saleManShow();
        System.out.println("==============");
        saleMan.setStrategy(new StrategyB());
        saleMan.saleManShow();
        System.out.println("==============");
        saleMan.setStrategy(new StrategyC());
        saleMan.saleManShow();

    }
}
